// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import api from './api/api'
import Login from './components/Login'

import  axios from 'axios'
//import  VueAxios from 'vue-axios'

axios.defaults.withCredentials = true

Vue.config.productionTip = false

Vue.prototype.$api = api.commonUrl
Vue.prototype.$axios = axios

/* eslint-disable no-new */
Vue.component("login",Login);

new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
